package com.mt.operation.api.service;

import java.util.List;
import java.util.Map;

import com.mt.common.PagerInfo;
import com.mt.common.ServiceResult;
import com.mt.operation.entity.HomePageOperationCategoryEntity;

public interface IHomePageOperationCategoryService {
    /**
     * 查询列表
     *
     * @param params
     * @return
     */
    ServiceResult<List<HomePageOperationCategoryEntity>> findList(Map<String, Object> params, PagerInfo<?> pagerInfo);



    /**
     * 查询详情
     *
     * @param params
     * @return
     */
    ServiceResult<HomePageOperationCategoryEntity> findInfo(Map<String, Object> params);



    /**
     * 创建
     *
     * @param homePageOperationCategoryEntity
     * @return
     */
    ServiceResult<Integer> doInsert(HomePageOperationCategoryEntity homePageOperationCategoryEntity);

    /**
     * 编辑
     *
     * @param homePageOperationCategoryEntity
     * @return
     */
    ServiceResult<Integer> doUpdate(HomePageOperationCategoryEntity homePageOperationCategoryEntity);

    /**
     * 删除
     *
     * @param homePageOperationCategoryId
     * @return
     */
    ServiceResult<Integer> doDeleteById(Integer homePageOperationCategoryId);

}
